program Tnagent;

{$APPTYPE CONSOLE}

uses
  SysUtils;

var
  dx, dy, x0, y0, x1, y1, r: integer;
  d, a1, a2, b1, b2, c1, c2: real;

begin
  Readln (x0, y0, x1, y1, r);
  d:=(sqrt((x0-x1)*(x0-x1)+(y0-y1)*(y0-y1)));
  if d<r then
  begin
    write ('The line does not exist.');
  end else begin
    dx:=x1-x0;
    dy:=y1-y0;
    a1:=(r*dx+dy*(sqrt(d*d-r*r)))/(d*d);
    a2:=(r*dx-dy*(sqrt(d*d-r*r)))/(d*d);
    b1:=(r*dy-dx*(sqrt(d*d-r*r)))/(d*d);
    b2:=(r*dy+dx*(sqrt(d*d-r*r)))/(d*d);
    c1:=-(a1*x0+b1*y0);
    c2:=-(a2*x0+b2*y0);
    write('a1=', a1:0:3, ' ', 'b1=', b1:0:3, ' ', 'c1=', c1:0:3);
    writeln;
    write('a2=', a2:0:3, ' ', 'b2=', b2:0:3, ' ', 'c2=', c2:0:3);
  end;
  Readln;
end.

